home *** CD-ROM | disk | FTP | other *** search
/ PC Graphics Unleashed / PC Graphics Unleashed.iso / ch18 / rtrace / pic2gif.bat < prev    next >
DOS Batch File  |  1993-11-30  |  348b  |  15 lines

  1. @echo off
  2. if not exist %1.pic goto error1
  3. if "%2" == "" goto error2
  4. h:\rtrace\bin\pic2rgb %1
  5. if "%3" == "" c:\img\pl286 h:\rtrace\bin\rgb2gif.plb %1 %2 %2 %1
  6. if not "%3" == "" c:\img\pl286 h:\rtrace\bin\rgb2gif.plb %1 %2 %3 %1
  7. del /q %1.?8
  8. goto end
  9. :error1
  10. echo File %1.pic not found
  11. goto end
  12. :error2
  13. echo Missing width (height)
  14. :end
  15.